Gets a list of contract definitions
Gets a list of contract definitions
- application/json
Request Body
- string
Responses
- 200
Contract definition was retrieved successfully. Returns Contract Definitions
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
result object
{
"message": "string",
"level": "string",
"result": {
"items": [
{
"createdAt": "2024-02-27",
"createdBy": "string",
"modifiedAt": "2024-02-27",
"modifiedBy": "string",
"isDeleted": true,
"id": "string",
"name": "string",
"assetsSelector": [
{}
],
"accessPolicyId": "string",
"usagePolicyId": "string",
"governanceStatus": "draft",
"syncStatus": "syncing"
}
]
}
}
POST /contractdefinitions/request
Request
Request
curl -L -X POST 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/request' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '"string"'
curl -L -X POST 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/request' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '"string"'
curl -L -X POST 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/request' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '"string"'
curl -L -X POST 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/request' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '"string"'
curl -L -X POST 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/request' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '"string"'
curl -L -X POST 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/request' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '"string"'
curl -L -X POST 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/request' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '"string"'